package com.frejoys.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

//订单收货地址
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("j_order_address")
public class OrderAddress implements Serializable {

    private static final long serialVersionUID = 1L;
    // 订单收货地址表主键
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    // 订单编号
    private Long orderSn;

    // 收货人姓名
    private String name;

    // 联系电话
    private String phone;

    // 省
    private String province;

    // 市
    private String city;

    // 区县
    private String district;

    // 街道地址
    private String street;

    // 详细地址
    private String address;
}
